package net.lab1024.sa.admin.module.business.erp.bas.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 商品 实体类
 *
 * @Author 1024创新实验室: 胡克
 * @Date 2021-10-25 20:26:54
 * @Wechat zhuoda1024
 * @Email lab1024@163.com
 * @Copyright  <a href="https://1024lab.net">1024创新实验室</a>
 */
@Data
@TableName("t_goods")
public class GoodsEntity {
    @TableId(type = IdType.AUTO)
    private Long goodsId;
    private String goodsNum;
    private Integer goodsStatus;
    private Long categoryId;
    private String goodsName;
    private String place;
    private BigDecimal price;
    private Boolean shelvesFlag;
    private Boolean deletedFlag;
    private String remark;
    private String specs;
    private String unit;
    private String stoId;
    private String stoName;
    private String source;
    private String bomId;
    @TableField(fill = FieldFill.INSERT)
    private Long createById;
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateById;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
